package com.my.yyr.service.safty;

import com.my.yyr.base.Result;
import com.my.yyr.dto.UserDto;
import com.my.yyr.model.Role;
import com.my.yyr.model.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    Map<String,Object> getUserPage(UserDto userDto);

    void addUser(UserDto userDto);

    boolean existsUserId(String userId);


    void deleteUser(String... ids);

    void updUser(UserDto userDto);

    boolean updateStatus(String uid, String opr);

    List<Role> getRoleList();

    List<String> getUserRoleIdList(String uid);


    void confirmRoles(UserDto userDto);
}
